#pragma once

#ifdef ANDROID
#include "jni.h"
#include <stdio.h>
#include <iostream>
#include "android/log.h"
#endif

using namespace std;
class CppToJavaCommunication
{
public:
    CppToJavaCommunication();
    ~CppToJavaCommunication();

    const char* GetExternalPath();
    void SetSavePath(char* path);
    int GetIntNumber();
    void SetIntNumber(int value);

public:
    static JavaVM* vm;
    static JavaVM* getJavaVM();
    static void setJavaVM(JavaVM *javaVM);
};